package org.jl.main.model;

import com.alibaba.fastjson2.annotation.JSONType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//fastjson2需要增加排序配置保证顺序
@JSONType(orders = {"id", "userCode", "userName", "userAge"})
public class User {

    private Long id;

    private String userCode;

    private String userName;

    private Integer userAge;

}